<?php
$curl = curl_init();

curl_setopt_array($curl, array(
	CURLOPT_URL => "https://totodunet-decimals-search-v1.p.rapidapi.com/inaudi.php?number=pi&search=19901223&count=19901223&start=1&end=1000000000",
	CURLOPT_RETURNTRANSFER => true,
	CURLOPT_ENCODING => "",
	CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_SSL_VERIFYHOST=>0,
    CURLOPT_SSL_VERIFYPEER=>0,
	CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
	CURLOPT_CUSTOMREQUEST => "GET",
	CURLOPT_HTTPHEADER => array(
		"x-rapidapi-host: totodunet-decimals-search-v1.p.rapidapi.com",
		"x-rapidapi-key: 0c6611b8bamsh4a30709d433b3f4p1cd0acjsn9166b17ed26c"
	),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
	echo "cURL Error #:" . $err;
} else {
	echo $response;
}